import {Component, Input, OnInit} from '@angular/core';

@Component({
  selector: 'app-menu-item',
  templateUrl: './menu-item.component.html',
  styleUrls: ['./menu-item.component.css']
})
export class MenuItemComponent implements OnInit {
  @Input() itemData!: MenuitemData;
  constructor() { }

  ngOnInit(): void {
  }

}

export interface MenuitemData{
  name: string;
  icon: string;
  path: string;
}
